home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
programming
/
mui
/
mcc-install
/
docs
/
english
/
mcc-install_dev.doc
next >
Wrap
Text File
|
1999-11-29
|
27KB
|
1,385 lines
Table of Contents
Custom functions - Custom functions
Internal functions - Script internal functions
Internal variables - Script internal variables
Useful text strings - Strings that might be useful for custom functions
Custom functions
----------------
P_CustomExists - Custom procedure to check existens
P_CustomInstall - Custom procedure for install
P_CustomUninstall - Custom procedure for uninstall
P_CustomExists
==============
Available variables
-------------------
(See MCC-Install main)
#copyright
#min_os_version
#min_os_revision
#min_mui_version
#min_mui_revision
#language_mcc
#language_mcp
#prop
#language_default
various language strings
(other)
#os_ver (See P_GetOsVersion)
#os_rev
#os_str
#mui_ver (See P_GetMUIVerison)
#mui_rev
#mui_str
#src-dir (directory of the archiv)
#dest-dir (where MUI is installed)
#dir (same as #dest-dir)
All P_CheckExists variables for things that are already installed(!)
(Installer internals)
(to be used as temps)
#i
Function
--------
Should initialize custom chk_ and old_ variables for things that exists within
the archiv/mui installation - if required by P_CustomInstall, P_CustomUninstall
Problems
--------
Maybe P_CustomExists should be called twice in the same way as P_CheckExists.
The Problem is, that there is no way to copy chk_ to old_ after calling it the
first time - so P_CustomExists has to work with #src-dir and #dest-dir instead
of #dir
P_CustomInstall
===============
Available variables
-------------------
chk_ = within the archiv
old_ = already installed
#update (0/1 new or already installed mcc)
#src-dir (directory structur of the archiv)
#dest-dir (directory structur of MUI)
#abstract (0/1 abstract mcc)
#install_mcc_catalogs (MCC catalogs to install)
#install_mcp_catalogs (MCP catalogs to install)
#install_docs (Doc. types to install)
#install_asciidocs (ASCII docs to install)
#install_agdocs (AmigaGuide docs to install)
#install_htmldocs (HTML docs to install)
#install_demo (0/1 install demo)
#install_proglang (Programming languages to install)
#install_source (0/1 install source code)
#install_images (0/1 install images)
#os_ver (OS Version number)
#os_rev (OS revision number)
#os_str (OS Release string)
#mui_ver (MUI Version number)
#mui_rev (MUI Revision number)
#mui_str (MUI Release version string)
#cpu (cpu bitmask)
#cpu_str (cpu name as string)
#mcc_cpu_file_extension (Mcc file extension for choosed CPU)
#mcp_cpu_file_extension (Mcp file extension for choosed CPU)
#mcc_cpus (available mcc/cpu bitmask)
#mcp_cpus (available mcp/cpu bitmask)
#mcc_fpus (available mcc/fpu bitmask)
#mcp_fpus (available mcp/fpu bitmask)
#mcc_cpu_counter (number of available mcc cpu's)
#mcp_cpu_counter (number of available mcp cpu's)
#chk_mcp (0/1 custom class exists)
#chk_demo (0/1 demo exists)
#chk_mcc_catalogs (language bitmask for mcc catalogs)
#chk_mcp_catalogs (language bitmask for mcp catalogs)
#chk_docs (bitmask for available doc types)
#chk_asciidocs (language bitmask for ASCII docs)
#chk_agdocs (language bitmask for AmigaGuide docs)
#chk_htmldocs (language bitmask for HTML docs)
#chk_proglang (bitmask for completly available programming languages)
#chk_progdirs (bitmask for available programming lanuages directories)
#chk_autodoc (0/1 Autodocs available)
#chk_source (0/1 class source code available)
#chk_images (0/1 Images available)
#chk_existsmask (bitmask for existing parts)
#old_mcp (0/1 mcp exists)
#old_demo (0/1 demo exists)
#old_mcc_catalogs (language bitmask for mcc catalogs)
#old_mcp_catalogs (language bitmask for mcp catalogs)
#old_docs (bitmask for available doc types)
#old_asciidocs (language bitmask for ASCII docs)
#old_agdocs (language bitmask for AmigaGuide docs)
#old_proglang (bitmask for completly available programming languages)
#old_progdirs (bitmask for available programming lanuages directories)
#old_autodoc (0/1 Autodocs available)
Temporary variables you should use:
#prompt (various prompt texts)
#defaultmask (various default values)
#langmask (various language masks)
#infos (0/1 copy .info files)
#dir (various dirs)
#file (various files)
#pattern (0/1 copy pattern)
Function
--------
Installs additional parts, that are not covered in the regular MCC-Install
process.
P_CustomUninstall
=================
Available variables
-------------------
#dest-dir (directory structur where MUI ist installed)
#all (Uninstall all parts?)
#parts (see P_AskParts)
#uninstall_mcc_catalogs (MCC catalogs to uninstalled)
#uninstall_mcp_catalogs (MCP catalogs to uninstalled)
#uninstall_asciidocs (ASCII docs to uninstall)
#uninstall_agdocs (AmigaGuide docs to uninstall)
#uninstall_htmldocs (HTML docs to uninstall)
#uninstall_proglang (Programming languages to uninstall)
#old_mcc (0/1 custom class exists)
#old_mcp (0/1 mcp exists)
#old_demo (0/1 demo exists)
#old_mcc_catalogs (language bitmask for mcc catalogs)
#old_mcp_catalogs (language bitmask for mcp catalogs)
#old_catalogs (language bitmask #chk_mcc_catalogs OR
#chk_mcp_catalogs)
#old_docs (bitmask for available doc types)
#old_asciidocs (language bitmask for ASCII docs)
#old_htmldocs (language bitmask for HTML docs)
#old_agdocs (language bitmask for AmigaGuide docs)
#old_proglang (bitmask for completly available programming
languages)
#old_autodoc (0/1 Autodocs available)
#old_c_h (0/1 C header file available)
#old_c_example (0/1 C example available)
#old_asm_i (0/1 Assember inlcude file available)
#old_asm_example (0/1 Assember example available)
#old_e_e (0/1 Amiga E modul available)
#old_e_example (0/1 Amiga E example available)
#old_modula_def (0/1 Modula-2 Def available)
#old_modula_mod (0/1 Modula-2 Mod available)
#old_modula_demo (0/1 Modula-2 Demo available)
#old_oberon_mod (0/1 Oberon Mod available)
#old_oberon_example (0/1 Oberon example available)
#old_rexx (0/1 ARexx include available)
#old_rexx_example (0/1 ARexx example available)
#old_cluster_def (0/1 Cluster Def available)
#old_cluster_mod (0/1 Cluster Mod available)
#old_cluster_demo (0/1 Cluster example available)
#old_bb2 (0/1 Blitz Basic 2 include available)
#old_bb2_example (0/1 Blitz basic 2 example available)
#old_muibuilder3 (0/1 MUIBuilder 3 definition available)
#old_muibuilder3_behaviour (0/1 MUIBuilder 3 behaviour available)
#old_source (0/1 class source code available)
#old_existsmask (bitmask for existing parts)
Temporary variables you should use:
#prompt (for prompts)
#defaultmask (for defaultmasks)
#langmask (for language masks)
Function
--------
Uninstalls additional parts, that are not covered in the regular MCC-Install
process.
Script internal functions
-------------------------
P_BitToLanguage - Language bitmap to language string
P_GetVersion - Get version for a file
P_CompareVersions - Compare two versions
P_GetOSVersionStr - Get OS version string
P_GetOSVersion - Get OS version
P_GetCPUFPU - Get available cpu/fpu
P_AskLanguages - Ask user for languages
P_AskDocFormats - Ask user for document formats
P_AskProgLangs - Ask user for programming languages
P_DelEmptyDir - Delete empty directory
P_DelDirRecursive - Delete a directory recursiv
P_DeleteLanguages - Delete languages directories
P_MkDirInfo - Create new direktory
P_CpFile - Copy file
P_GetMuiVersionStr - Get MUI version string
P_GetMUIVersion - Get MUI version
P_AskCPUFPU - Ask user for cpu/fpu
P_AskParts - Ask user for parts
P_CheckAvailableCPUs - Check available cpu binaries
P_CheckExists - Check for existing parts
P_Install - Install mcc
P_Uninstall - Uninstall mcc
MCC-Install main - MCC-Install main part
P_BitToLanguage
===============
Parameter
---------
#langmask (bitmask see variables)
Temps
-----
#i (counter)
#bitmask (working copy of #langmask)
Results
-------
#langmask (mask without choosed language)
#lang (language name string)
Function
--------
Returns the next language name string from #langmask - and removes this
language from #langmask (for looping through all langs)
P_GetVersion
============
Parameter
---------
#file (Filename for which you want to know the version)
Temps
-----
#vernum (Installer version/revision-num format)
Results
-------
#ver (Version)
#rev (Revision)
Function
--------
Returns the version and revision for a file
P_CompareVersions
=================
Parameter
---------
#ver (First version number)
#rev (First revision number)
#ver2 (Second version number)
#rev2 (Second revision number)
Temps
-----
Results
-------
#result
-1 : #ver.#rev < #ver2.#rev2
0 : #ver.#rev = #ver2.#rev2
1 : #ver.#rev > #ver2.#rev2
Function
--------
Compares two version/revision pairs
P_GetOSVersionStr
=================
Parameter
---------
#ver (OS Version number (30-40)
#rev (OS Revision Number [currently unused])
Temps
-----
#i (counter)
Results
-------
#str (OS Version String)
Function
--------
Returns the OS Release name string from the OS version number
P_GetOSVersion
==============
Parameter
---------
Temps
-----
#file ("libs:version.library")
#ver (see Used Funcs)
#rev (see Used Funcs)
#vernum (see Used Funcs)
#i (see Used Funcs)
#str (see Used Funcs)
Results
-------
#os_ver (OS Version number)
#os_rev (OS revision number)
#os_str (OS Release string)
Function
--------
Returns the OS version/revision number and the release string
Used Functions
--------------
P_GetVersion, P_GetOSVersionStr
P_GetCPUFPU
===========
Parameter
---------
Temps
-----
Results
-------
#cpu (available CPU)
-1 = unknown
0 = 68000
1 = 68010
2 = 68020
3 = 68030
4 = 68040
5 = 68060
#cpu_str (available CPU as string: 68000,68010,68020,68030,68040,68060)
#fpu (available FPU)
-1 = unknown
0 = NOFPU
1 = 68881
2 = 68882
3 = FPU40
#fpu_str (available FPU as string: NOFPU,68881,68882,FPU40)
Function
--------
Returns the available CPU on the current system
P_AskLanguages
==============
Parameter
---------
#prompt (Prompt to display i.e.: choose languages for catalogs)
#langmask (Language mask of available languages [see Variables])
#defaultmask (Default language mask [pre selected languages])
Temps
-----
#bitmask (working copy of #langmask)
Results
-------
#langmask (Mask of selected languages [see Variables])
Function
--------
Ask the user to select languages
P_AskDocFormats
===============
Parameter
---------
#prompt (Prompt text i.e. which type of doc should be installed)
#docmask (Available doc formats bitmask)
#defaultmask (Preselected formats)
Temps
-----
#bitmask (working copy of #docmask)
Results
-------
#docmask (Formats the user has choosen)
Function
--------
Ask the user for the doc-type to install (ACSII, AmigaGuide, HTML)
P_AskProgLangs
==============
Parameter
---------
#prompt (Prompt to ask the user)
#plangmask (Available programming languages)
#defaultmask (Pre selected programming languages)
Temps
-----
#bitmask (Working copy of #plangmask)
Results
-------
#plangmask (User selected programming languages)
Function
--------
Ask the user/developer for a programming language
P_DelEmptyDir
=============
Parameter
---------
#dir (Directory to delete)
Temps
-----
#i (counter / number of deleted directories)
Results
-------
Function
--------
Deletes only empty directories including their icons
P_DelDirRecursive
=================
Parameter
---------
#dir (Directory to delete)
Temps
-----
Results
-------
Function
--------
Deletes a directory recursivly incluing icons
Used Functions
--------------
P_DelDirRecursive
P_DeleteLanguages
=================
Parameter
---------
#dir (directory which contains language dirs)
#file (file to delete from languages dir)
#langmask (languages mask for which #file should be deleted)
Temps
-----
#i (counter)
#lang (temp language name string)
Results
-------
#langmask (empty langmask)
Function
--------
Deletes a (catalog) file from all selected language directories
Used Functions
--------------
P_BitToLanguage
P_MkDirInfo
===========
Parameter
---------
#dir (dir name to create)
#infos (create icon file [0/1])
#dest-dir (already existing path within which #dir should be created)
Temps
-----
Results
-------
Function
--------
Creates a new directory including icon file if required
P_CpFile
========
Parameter
---------
#dir (directory to copy)
#file (filepattern for copyoperation)
#infos (copy icons [0/1])
#dest-dir (destination directory)
#src-dir (directory with sources)
#pattern (copy single file or filepattern [0/1])
Temps
-----
Results
-------
Function
--------
Copies a single file or multiple via patterns including icons if required
P_GetMuiVersionStr
==================
Parameter
---------
#ver (MUI Version number [i.e. 38])
#rev (MUI Revision number)
Temps
-----
#i (counter)
Results
-------
#str (MUI release version string [i.e. "3.8"])
Function
--------
Returns the MUI release version string from the library version number
P_GetMUIVersion
===============
Parameter
---------
Temps
-----
#file (MUI library/preferences filename)
#ver (MUI version num)
#rev (MUI revision num)
#vernum (MUI version (installer format))
#i (counter)
Results
-------
#mui_ver (MUI Version number)
#mui_rev (MUI Revision number)
#mui_str (MUI Release version string)
Function
--------
Returns the MUI Version/revision number as well as the release string
P_AskCPUFPU
===========
Parameter
---------
#src-dir (directory with MUI files)
Temps
-----
#i (counter)
#file (see used funcs)
#bitmask (see used funcs)
#filetype (see used funcs)
#f (see used funcs)
#mcc_cpus (available binary versions)
#mcp_cpus (available binary versions)
#mcc_fpus (available binary versions)
#mcp_fpus (available binary versions)
#dir (directory for P_CheckAvailableCPUs)
#defaultcpu (best fit cpu)
#mcc_cpu_counter (number of available mcc cpu's)
#mcp_cpu_counter (number of available mcp cpu's)
#fpu (see used funcs)
#fpu_str (see used funcs)
#cpu2 (next lower usable cpu)
#fpu2 (next lower usable fpu)
Results
-------
#cpu (cpu bitmask)
#cpu_str (cpu name as string)
#mcc_cpu_file_extension (Mcc file extension for choosed CPU)
#mcp_cpu_file_extension (Mcp file extension for choosed CPU)
#src-dir (directory with MUI files)
Function
--------
Let the user choose from available and usable cpu/fpu and return the best fit
for mcp (if only a lower cpu is available)
Used Functions
--------------
P_CheckAvailableCPUs, P_GetCPUFPU
P_AskParts
==========
Parameter
---------
#prompt (ask the user for install/deinstall/update)
#defaultmask (bitmask - see #parts variable - default selection)
#existsmask (bitmask - see #parts variable - existing things)
Temps
-----
Results
-------
#parts (bitmask - see variables)
Function
--------
Ask the user for parts to install/deinstall parts (only available part)
P_CheckAvailableCPUs
====================
Parameter
---------
#dir (directory with custom class)
Temps
-----
#i (counter)
#file (temporary filename)
#bitmask (temp cpu/fpu bitmask)
#filetype (temp filetype)
#f (temp pattern match)
Results
-------
#mcc_cpus (available mcc/cpu bitmask)
#mcp_cpus (available mcp/cpu bitmask)
#mcc_fpus (available mcc/fpu bitmask)
#mcp_fpus (available mcp/fpu bitmask)
#mcc_cpu_counter (number of available mcc cpu's)
#mcp_cpu_counter (number of available mcp cpu's)
Function
--------
Returns the available mcc/mcp cpu's/fpu's
P_CheckExists
=============
Parameter
---------
#dir (directory structur to check [archiv/mui
installation])
Temps
-----
#i (counter)
#lang (language name string)
Results
-------
#chk_mcc (0/1 custom class exists)
#chk_mcp (0/1 mcp exists)
#chk_demo (0/1 demo exists)
#chk_mcc_catalogs (language bitmask for mcc catalogs)
#chk_mcp_catalogs (language bitmask for mcp catalogs)
#chk_catalogs (language bitmask #chk_mcc_catalogs OR
#chk_mcp_catalogs)
#chk_agdocs (language bitmask for AmigaGuide docs)
#chk_asciidocs (language bitmask for ASCII docs)
#chk_htmldocs (language bitmask for HTML docs)
#chk_docs (bitmask for available doc types)
#chk_progdirs (bitmask for available programming lanuages
directories)
#chk_proglang (bitmask for completly available programming
languages)
#chk_autodoc (0/1 Autodocs available)
#chk_c_h (0/1 C header file available)
#chk_c_example (0/1 C example available)
#chk_asm_i (0/1 Assember inlcude file available)
#chk_asm_example (0/1 Assember example available)
#chk_e_e (0/1 Amiga E modul available)
#chk_e_example (0/1 Amiga E example available)
#chk_modula_def (0/1 Modula-2 Def available)
#chk_modula_mod (0/1 Modula-2 Mod available)
#chk_modula_demo (0/1 Modula-2 Demo available)
#chk_oberon_mod (0/1 Oberon Mod available)
#chk_oberon_example (0/1 Oberon example available)
#chk_rexx (0/1 ARexx include available)
#chk_rexx_example (0/1 ARexx example available)
#chk_cluster_def (0/1 Cluster Def available)
#chk_cluster_mod (0/1 Cluster Mod available)
#chk_cluster_demo (0/1 Cluster example available)
#chk_bb2 (0/1 Blitz Basic 2 include available)
#chk_bb2_example (0/1 Blitz basic 2 example available)
#chk_muibuilder3 (0/1 MUIBuilder 3 definition available)
#chk_muibuilder3_behaviour (0/1 MUIBuilder 3 behaviour available)
#chk_source (0/1 class source code available)
#chk_images (0/1 Images available)
#chk_existsmask (bitmask for existing parts)
Function
--------
Check for existing files within archiv or mui installation
P_Install
=========
Parameter
---------
chk_ = within the archiv
old_ = already installed
#chk_mcp (0/1 custom class exists)
#chk_demo (0/1 demo exists)
#chk_mcc_catalogs (language bitmask for mcc catalogs)
#chk_mcp_catalogs (language bitmask for mcp catalogs)
#chk_docs (bitmask for available doc types)
#chk_asciidocs (language bitmask for ASCII docs)
#chk_agdocs (language bitmask for AmigaGuide docs)
#chk_htmldocs (language bitmask for HTML docs)
#chk_proglang (bitmask for completly available programming languages)
#chk_progdirs (bitmask for available programming lanuages directories)
#chk_autodoc (0/1 Autodocs available)
#chk_source (0/1 class source code available)
#chk_images (0/1 Images available)
#chk_existsmask (bitmask for existing parts)
#old_mcp (0/1 mcp exists)
#old_demo (0/1 demo exists)
#old_mcc_catalogs (language bitmask for mcc catalogs)
#old_mcp_catalogs (language bitmask for mcp catalogs)
#old_docs (bitmask for available doc types)
#old_asciidocs (language bitmask for ASCII docs)
#old_agdocs (language bitmask for AmigaGuide docs)
#old_proglang (bitmask for completly available programming languages)
#old_progdirs (bitmask for available programming lanuages directories)
#old_autodoc (0/1 Autodocs available)
#update (0/1 new or already installed mcc)
#src-dir (directory structur of the archiv)
#dest-dir (directory structur of MUI)
#abstract (0/1 abstract mcc)
Temps
-----
#prompt (various prompt texts)
#existsmask (bitmask for already existing parts)
#defaultmask (various default values)
#langmask (various language masks)
#docmask (Document types)
#infos (0/1 copy .info files)
#dir (various dirs)
#file (various files)
#pattern (0/1 copy pattern)
#mcc_cpu_counter (Nr. of available mcc CPUs)
#install_mcc_catalogs (MCC catalogs to install)
#install_mcp_catalogs (MCP catalogs to install)
#install_docs (Doc. types to install)
#install_asciidocs (ASCII docs to install)
#install_agdocs (AmigaGuide docs to install)
#install_htmldocs (HTML docs to install)
#install_demo (0/1 install demo)
#install_proglang (Programming languages to install)
#install_source (0/1 install source code)
#install_images (0/1 install images)
Results
-------
Function
--------
Installs/Updates the MCC or parts of it
Used Functions
--------------
P_AskParts, P_AskCPUFPU, P_AskLanguages, P_AskDocFormats, P_AskProgLangs,
P_MkDirInfo, P_BitToLanguage, P_CpFile, P_CustomInstall
P_Uninstall
===========
Parameter
---------
#dest-dir (directory structur where MUI ist installed)
#old_mcc (0/1 custom class exists)
#old_mcp (0/1 mcp exists)
#old_demo (0/1 demo exists)
#old_mcc_catalogs (language bitmask for mcc catalogs)
#old_mcp_catalogs (language bitmask for mcp catalogs)
#old_catalogs (language bitmask #chk_mcc_catalogs OR
#chk_mcp_catalogs)
#old_docs (bitmask for available doc types)
#old_asciidocs (language bitmask for ASCII docs)
#old_htmldocs (language bitmask for HTML docs)
#old_agdocs (language bitmask for AmigaGuide docs)
#old_proglang (bitmask for completly available programming
languages)
#old_autodoc (0/1 Autodocs available)
#old_c_h (0/1 C header file available)
#old_c_example (0/1 C example available)
#old_asm_i (0/1 Assember inlcude file available)
#old_asm_example (0/1 Assember example available)
#old_e_e (0/1 Amiga E modul available)
#old_e_example (0/1 Amiga E example available)
#old_modula_def (0/1 Modula-2 Def available)
#old_modula_mod (0/1 Modula-2 Mod available)
#old_modula_demo (0/1 Modula-2 Demo available)
#old_oberon_mod (0/1 Oberon Mod available)
#old_oberon_example (0/1 Oberon example available)
#old_rexx (0/1 ARexx include available)
#old_rexx_example (0/1 ARexx example available)
#old_cluster_def (0/1 Cluster Def available)
#old_cluster_mod (0/1 Cluster Mod available)
#old_cluster_demo (0/1 Cluster example available)
#old_bb2 (0/1 Blitz Basic 2 include available)
#old_bb2_example (0/1 Blitz basic 2 example available)
#old_muibuilder3 (0/1 MUIBuilder 3 definition available)
#old_muibuilder3_behaviour (0/1 MUIBuilder 3 behaviour available)
#old_source (0/1 class source code available)
#old_existsmask (bitmask for existing parts)
Temps
-----
#existsmask (bitmask for existing parts)
#all (Uninstall all parts?)
#prompt (see P_AskParts, P_AskLanguages,
P_AskDocFormats, P_AskProgLangs)
#defaultmask (see P_AskParts, P_AskLanguages,
P_AskDocFormats, P_AskProgLangs)
#parts (see P_AskParts)
#langmask (see P_AskLanguages)
#uninstall_mcc_catalogs (MCC catalogs to uninstalled)
#uninstall_mcp_catalogs (MCP catalogs to uninstalled)
#docmask (see P_AskDocFormats)
#uninstall_asciidocs (ASCII docs to uninstall)
#uninstall_agdocs (AmigaGuide docs to uninstall)
#uninstall_htmldocs (HTML docs to uninstall)
#plangmask (see P_AskProgLangs)
#uninstall_proglang (Programming languages to uninstall)
Results
-------
Function
--------
Uninstalls the MCC or parts of it
Used Functions
--------------
P_AskParts, P_AskLanguages, P_AskDocFormats, P_AskProgLangs, P_DeleteLanguages,
P_BitToLanguage, P_DelEmptyDir, P_DelDirRecursive, P_CustomUninstall
MCC-Install main
================
Parameter
---------
#copyright (copyright for the mcc)
#min_os_version (minimum required OS version)
#min_os_revision (minimum required OS revision)
#min_mui_version (minimum required MUI version)
#min_mui_revision (minimum required MUI revision)
#language_mcc (mcc buildin languages)
#language_mcp (mcp buildin languages)
Temps
-----
#prop (Use proportinal font with newer installer)
#i (counter)
#language (language name string of user environment)
#language_default (language bitmask of user envirnment)
#abstract (0/1 abstract mcc)
#update (0/1 new or already installed)
Various installation strings for user prompting.
All variables from P_CheckExists prefixed with old_ instead of chk_ :
old_ already installed, chk_ available within the archiv.
See above functions
Results
-------
Function
--------
Installs/uninstalls MUI custom classes
Used Functions
--------------
P_GetOSVersion, P_CompareVersions, P_GetMUIVersion, P_GetMUIVersionStr,
P_CheckExists, P_CustomExists, P_GetVersion, P_Install, P_Uninstall
Script internal variables
-------------------------
" #languages " - Bitmask for languages
" #cpu " - Bitmask for cpus
" #fpu " - Bitmask for fpus
" #docmask " - Bitmask for document types
" #plangmask " - Bitmask for programming languages
" #cpu_file_extension " - MCC/MCP cpu file extension string
" #parts " - Bitmask for archiv parts
all #languages masks
--------------------
Bit 0 = English
Bit 1 = German
Bit 2 = French
Bit 3 = Spanish
Bit 4 = Portuguese (European)
Bit 5 = Danish
Bit 6 = Italian
Bit 7 = Dutch
Bit 8 = Norwegian
Bit 9 = Swedish
Bit 10 = Polish
Bit 11 = Finnish
Bit 12 = Hungarian
Bit 13 = Greek
Bit 14 = Esperanto
Bit 15 = Turkish
Bit 16 = Latin
Bit 17 = Russian
Bit 18 = Czech
Bit 19 = Catalonian
Bit 20 = Croatian
Bit 21 = Serbian
Bit 22 = Slovak
Bit 23 = Slovenian
Bit 24 = Portuguese (Brazilian)
#cpu
----
-1 = unknown
0 = 68000
1 = 68010
2 = 68020
3 = 68030
4 = 68040
5 = 68060
#fpu
----
-1 = unknown
0 = NOFPU
1 = 68881
2 = 68882
3 = FPU40
#docmask
--------
Bit 0 = ASCII
Bit 1 = AmigaGuide
Bit 2 = HTML
#plangmask
----------
Bit 0 = C
Bit 1 = C++
Bit 2 = Assembler
Bit 3 = Amiga-E
Bit 4 = Modula-II
Bit 5 = Oberon
Bit 6 = ARexx
Bit 7 = Cluster
Bit 8 = Blitz Basic 2
Bit 9 = MUIBuilder3
#mcc_cpu_file_extension / #mcp_cpu_file_extension
-------------------------------------------------
"" | "000"
"010"
"020"
"020f"
"030"
"030f"
"040"
"040f"
"060"
#parts
------
Bit 0 : MCP
Bit 1 : Catalogs
Bit 2 : Docs
Bit 3 : Demo
Bit 4 : Developer
Bit 5 : Source
Bit 6 : Images
Useful text strings
-------------------
When using your own text strings, please localize them dependend on
#default_language - otherwise use english texts only.
#prompt_copy
"Do you want to copy the following file(s)?"
#prompt_makedir
"The following directory was not found, so it must be created:"
#button_abort
"Abort Uninstall"
#help_askoptions
"With an Installer prior to version 42.6 it can happen that you see
checkbox-buttons without labels. Selecting these buttons will be ignored.\n\n"
#help_askchoice
"With an Installer prior to version 42.6 it can happen that you see
radio-buttons without labels. Selecting these buttons will result in the next
lower available selection.\n\n"
#abort_nocpu
"Sorry, the script is unable to install " \@pp-name ".mcc, because your CPU
configuration is not supported.\n"
#prompt_uninstall_parts
"Which parts do you want to uninstall?\n"
\@pp-name ".mcp will uninstall relating catalogs too.\n"
#prompt_update
"Which parts of " \@pp-name ".mcc do you want to add to the installation?"